import request from '@/utils/request'

// 轮播图接口
export const getBanners = () => {
  return request({
    url: 'banner/list'
  })
}

// 菜单列表数据
export const getMenus = () => {
  return request({
    url: 'menu/list'
  })
}

// 获取商品列表数据
export const getGoodsList = (count = 1, limitNum = 10) => {
  return request({
    url: 'pro/list',
    method: 'GET',
    params: {
      count,
      limitNum
    }
  })
}
